package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.PublishResultDetail;

import java.util.List;

/**
 * Created by hunk.qin on 2015/3/12.
 */
public interface PublishResultDetailRdbService {

    Long save(PublishResultDetail publishResultDetail);

     List<PublishResultDetail> searchDetailByPublishResultIdAndTypes(Long publishResultId, String types);

    /**
     * publish_result_id下面各类型detail个数
     */
    long countDetailByPublishResultIdAndTypes(Long publishResultId, String types);
}
